﻿if exists (select * from sysobjects where id = object_id(N'pBUGLOGBugsSummaryDelete') and sysstat & 0xf = 4) drop procedure pBUGLOGBugsSummaryDelete 
GO

-- Deletes a record from the [dbo].[BugsSummary] table.
CREATE PROCEDURE pBUGLOGBugsSummaryDelete
        @pk_BugId int
AS
BEGIN
    DELETE [dbo].[BugsSummary]
    WHERE [BugId] = @pk_BugId
END

